{% extends "base.html" %}
{# Copyright The IETF Trust 2020, All Rights Reserved #}
{% load origin %}
{% load static %}
{% load django_bootstrap5 %}
{% load person_filters %}
{% block title %}Send reminder to action holder{{ doc.action_holders.all|pluralize }} for {{ titletext }}{% endblock %}
{% block content %}
    {% origin %}
    <h1>
        Send reminder to action holder{{ doc.action_holders.all|pluralize }}
        <br>
        <small class="text-body-secondary">{{ titletext }}</small>
    </h1>
    <form enctype="multipart/form-data" method="post">
        {% csrf_token %}
        {% bootstrap_form form %}
        <p>
            This reminder will be sent to
            {% for person in doc.action_holders.all %}
                {% if forloop.last and not forloop.first %}and{% endif %}
                {%  person_link person %}{% if not forloop.last %},{% endif %}
            {% endfor %}.
        </p>
        <button type="submit"
                class="btn btn-primary"
                name="submit"
                value="Send reminder">Send</button>
        <a class="btn btn-secondary float-end"
           href="{% url "ietf.doc.views_doc.document_main" name=doc.name %}">
            Back
        </a>
    </form>
{% endblock %}